#pragma once
#include <fstream>
#include <iostream>
#include <list>
#include <mutex>
#include <thread>
#include "fmComm.h"
#include "json/json.h"
#include "utils/CUitl.h"

#include "json/json.h"
#include "sqlite3/sqlite3.h"
#include "stddef.h"

class BindldDbLS {
   public:
    BindldDbLS();
    ~BindldDbLS();

   public:
    static BindldDbLS* Instance();

   public:
    bool insert(const char* faceId, const char* userId);
    std::string getUserIdByFaceId(const char* faceld);

   public:
    static BindldDbLS* Bindld;

    sqlite3* g_db_ = NULL;
    std::mutex gz_mutex;
};